<?php 
/* 
 * This file is part of TCDB. 
 * 
 * Copyright (C) 2000-2009 
 * Technology Consultant Corps 
 * Grinnell College 
 * Grinnell, IA, 50112 
 * tc@grinnell.edu 
 * 
 * TCDB is free software; you can redistribute it and/or modify 
 * it under the terms of the GNU General Public License as published by 
 * the Free Software Foundation; either version 3 of the License, or 
 * (at your option) any later version. 
 * 
 * TCDB is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
 * GNU General Public License for more details. 
 * 
 * You should have received a copy of the GNU General Public License 
 * along with TCDB. If not, see <http://www.gnu.org/licenses/>. 
 * 
 
 ============================================================================= 
 
 * header.php -- Header file for TCDB; should be included at the top of every main page
 * 
 * Author: Dylan J. Sather
 * Created: 2009-06-04 
 * Last edited: 2009-07-23 
 *
 * Thanks to Andrew Kensler and Avram Lyon for their work on header.php since August 2000
 */

// Make sure javascript variables are initialized; we should only include these if directed
$jquery_validate = (isset($jquery_validate)) ? $jquery_validate : FALSE;

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title><?php echo ($config["system_title"] . ' - ' . $page_title); ?></title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
		
    <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
    <meta name="author" content="Technology Consultant Corps" />
    <meta name="revised" content= <?php
    
    /* This script checks the date_modified file to see when a file in TCDB
       was last modified, giving us the date at which TCDB was last revised */

    $date_file = "date_modified";
    $fh = fopen($date_file, 'r');
    $date = fread($fh, filesize($date_file));
    $date = trim($date);
    fclose($fh);
    print "\"Technology Consultant Corps, $date\" />";
    
    ?>

    <meta name="description" content="Technology Consultant Database" />

    <meta name="keywords" content="technology consultants, tcdb, technology consultant database,
                                   grinnell college, tc corps, timesheets, scheduling" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <link rel="stylesheet" type="text/css" href="css/tcdb.css" />
    <script type="text/javascript" src="javascript/tcdbLibrary.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
  </head>    

<body onload="setLoginFocus()">
  <div id="system_header"> <!-- HEADER div -->
    <h1><?php echo ($config["system_title"]); ?></h1>
  </div> <!-- End HEADER div -->
  <?php echo "\n"; ?>
